package com.ushio.gougouwangguo.entity.mysql;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 物资类型表
 * </p>
 *
 * @author 张文凯
 * @since 2025-10-14
 */
@TableName("materials_type")
public class MaterialsType implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 物资类型id
     */
    @TableId(value = "materials_type_id", type = IdType.AUTO)
    private Byte materialsTypeId;

    /**
     * 物资类型描述
     */
    private String materialsTypeName;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;

    /**
     * 创建人
     */
    private Long createUser;

    /**
     * 修改人
     */
    private Long updateUser;

    /**
     * 是否启用1是删除0是启用
     */
    private Boolean remove;

    public Byte getMaterialsTypeId() {
        return materialsTypeId;
    }

    public void setMaterialsTypeId(Byte materialsTypeId) {
        this.materialsTypeId = materialsTypeId;
    }

    public String getMaterialsTypeName() {
        return materialsTypeName;
    }

    public void setMaterialsTypeName(String materialsTypeName) {
        this.materialsTypeName = materialsTypeName;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    public Boolean getRemove() {
        return remove;
    }

    public void setRemove(Boolean remove) {
        this.remove = remove;
    }

    @Override
    public String toString() {
        return "MaterialsType{" +
            "materialsTypeId = " + materialsTypeId +
            ", materialsTypeName = " + materialsTypeName +
            ", createTime = " + createTime +
            ", updateTime = " + updateTime +
            ", createUser = " + createUser +
            ", updateUser = " + updateUser +
            ", remove = " + remove +
            "}";
    }
}
